/**
 * 
 */
package com.miolr.module.core.api;

import static org.junit.Assert.*;

import org.hibernate.collection.internal.PersistentList;
import org.hibernate.collection.internal.PersistentMap;
import org.hibernate.collection.spi.PersistentCollection;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;

/**
 * @author iday
 *
 */
public class HibernateSerializerFactoryTestCase {

	/**
	 * @throws java.lang.Exception
	 */
	@Before
	public void setUp() throws Exception {
	}

	/**
	 * @throws java.lang.Exception
	 */
	@After
	public void tearDown() throws Exception {
	}

	/**
	 * Test method for {@link com.miolr.module.core.api.HibernateSerializerFactory#createSerializer(org.codehaus.jackson.map.SerializationConfig, org.codehaus.jackson.type.JavaType, org.codehaus.jackson.map.BeanProperty)}.
	 */
	@Test
	public void testCreateSerializerSerializationConfigJavaTypeBeanProperty() {
		assertTrue(PersistentCollection.class.isAssignableFrom(PersistentMap.class));
	}

}
